import {createAppContainer} from 'react-navigation';
import {createStackNavigator} from 'react-navigation-stack';
import {routeConfigMap, routeConfigMapName} from '@nav/NavConstant';

const AppNavigator = createStackNavigator(
  {...routeConfigMap},
  {initialRouteName: routeConfigMapName.Login},
);

export default createAppContainer(AppNavigator);
